<?php
/* @var $model Ad */
/* @var $this AdController */
?>
<?php
$this->breadcrumbs = array(
    'Advertising' => array('index'),
    'Manage',
);
?>
<div class="box">
    <header>
        <h5>Create an ad</h5>
    </header>
    <div class="body">
	<?php
	if ($model instanceof Equipment) {
	    $this->renderPartial('register/equipment', array('model' => $model));
	} elseif ($model instanceof Supply) {
	    $this->renderPartial('register/supply', array('model' => $model));
	} elseif ($model instanceof Resume) {
	    $this->renderPartial('register/resume', array('model' => $model));
	} elseif ($model instanceof Job) {
	    $this->renderPartial('register/job', array('model' => $model));
	} elseif ($model instanceof Vendor) {
	    $this->renderPartial('register/vendor', array('model' => $model, 'eblast' => $eblast));
	} elseif ($model instanceof Technical) {
	    $this->renderPartial('register/technical', array('model' => $model, 'eblast' => $eblast));
	}
	?>
    </div>
</div>